A TriggerEvent gets fired when some significant event occurs on the server.
The trigger item properties represent textual values that can be keyed on for event triggers. Typically these will be id's of objects in context of the event, such as the website, group, etc.
The types of events are:
-
AuctionBidEvent
AuctionClosedEvent
CalendarEventAccepted
CalendarEventDeclined
ContactEvent
EmailReceivedEvent
ModuleProgressEvent
NewCommentEvent
PaymentEvent
RepositoryAppTriggerEvent
PipelineProcessEvent
ReferralEvent
RewardGrantedEvent
ReferralEvent
ShoppingCartEvent
SubscriptionEvent
TestTriggerEvent
TriggerFiredEvent
TriggerTimerEvent
VoteReceivedEvent
VotedEvent
Properties
Name | Returns | Notes | Example |
---|---|---|---|
eventId | String | This identifies the type of event in a persistence friendly manner | |
website | Website | The website which is the logical owner of the source of the event | |
sourceProfile | Profile | Returns the entity which caused the event. | |
triggerItem1 | String | ||
triggerItem2 | String | ||
triggerItem3 | String | ||
triggerItem4 | String | ||
triggerItem5 | String | ||
attributes | Map | Might contain extra properties. Or might not. | |
emailAttachments | List | Returns a list of email attachments provided by the event |
Ask a question, or offer an answer